﻿@model IEnumerable<Article>
@Html.Extra()
@{ 
    var index = 1;
}

@foreach (var item in Model)
{
    <li class="item swiper-slide" style="@(index==1?"left:0px;":"")">
        @if(item.TransferUrl.Length<20){
            @Html.Raw("<a href=' ' target='_blank'>")
        }
        else {
            @Html.Raw("<a href ='"+ item.TransferUrl.Replace("gg_", "") + "' target = '_blank' >")
        }
        < img src="@item.TitleImageUrl" width="570" height="300">
        </a>
    </li>
    index++;
}